package cn.edu.gues.infosystam.service.impl;

import cn.edu.gues.infosystam.entity.Cclass;
import cn.edu.gues.infosystam.entity.College;
import cn.edu.gues.infosystam.mapper.CclassMapper;
import cn.edu.gues.infosystam.service.CclassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 苏小小
 * @since 2020-06-11
 */
@Service
public class CclassServiceImpl extends ServiceImpl<CclassMapper, Cclass> implements CclassService {


    @Override
    public List<Cclass> getAllCollege() {
        return this.baseMapper.getAllCollege();
    }

    @Override
    public List<Cclass> getClassByCollege(String college) {
        return this.baseMapper.getClassByCollege(college);
    }
}
